.class Lcom/estrongs/android/pop/app/PopAudioPlayer$y;
.super Landroid/os/Handler;
.source "PopAudioPlayer.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/PopAudioPlayer;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/PopAudioPlayer;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/PopAudioPlayer;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->p(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    iget v0, p1, Landroid/os/Message;->arg1:I

    .line 3
    iget v1, p1, Landroid/os/Message;->arg2:I

    .line 4
    iget v2, p1, Landroid/os/Message;->what:I

    packed-switch v2, :pswitch_data_0

    packed-switch v2, :pswitch_data_1

    goto/16 :goto_3

    :pswitch_0
    const/4 p1, 0x1

    if-ne v1, p1, :cond_3

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result p1

    if-eqz p1, :cond_2

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result p1

    if-nez p1, :cond_1

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->t()V

    goto/16 :goto_3

    .line 8
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->v()V

    goto/16 :goto_3

    .line 9
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->W()V

    goto/16 :goto_3

    .line 10
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->k()Les/to;

    move-result-object p1

    iget-object v1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->b(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/ui/view/DragListAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/ui/view/DragListAdapter;->a()Les/to;

    move-result-object v1

    if-eq p1, v1, :cond_4

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    iget-object v1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->b(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/ui/view/DragListAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/ui/view/DragListAdapter;->a()Les/to;

    move-result-object v1

    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/app/f0;->a(Les/to;)Z

    .line 12
    :cond_4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;I)V

    goto/16 :goto_3

    .line 13
    :pswitch_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->b(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/ui/view/DragListAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/view/DragListAdapter;->c()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->b(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/ui/view/DragListAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/ui/view/DragListAdapter;->getItemCount()I

    move-result v1

    invoke-static {p1, v0, v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->d(Lcom/estrongs/android/pop/app/PopAudioPlayer;II)V

    goto/16 :goto_3

    .line 14
    :pswitch_2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->b(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/ui/view/DragListAdapter;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/view/DragListAdapter;->d()Z

    move-result p1

    if-eqz p1, :cond_5

    .line 15
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->c0()V

    goto/16 :goto_3

    .line 16
    :cond_5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->U()V

    goto/16 :goto_3

    .line 17
    :pswitch_3
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_6

    const/4 v0, 0x2

    .line 18
    invoke-virtual {p0, v0}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v1

    .line 19
    iget p1, p1, Landroid/os/Message;->arg1:I

    iput p1, v1, Landroid/os/Message;->arg1:I

    .line 20
    invoke-virtual {p0, v0}, Landroid/os/Handler;->removeMessages(I)V

    .line 21
    invoke-virtual {p0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_3

    .line 22
    :cond_6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    if-eqz p1, :cond_c

    .line 23
    new-instance p1, Lcom/estrongs/android/pop/app/PopAudioPlayer$y$c;

    invoke-direct {p1, p0, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$y$c;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$y;I)V

    .line 24
    invoke-virtual {p1}, Ljava/lang/Thread;->start()V

    goto/16 :goto_3

    .line 25
    :pswitch_4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    if-eqz p1, :cond_c

    .line 26
    new-instance p1, Lcom/estrongs/android/pop/app/PopAudioPlayer$y$a;

    invoke-direct {p1, p0, v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$y$a;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$y;II)V

    .line 27
    invoke-virtual {p1}, Ljava/lang/Thread;->start()V

    goto/16 :goto_3

    .line 28
    :pswitch_5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->finish()V

    goto/16 :goto_3

    .line 29
    :pswitch_6
    iget-object v1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->e0()V

    goto :goto_0

    .line 30
    :pswitch_7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1, v0, v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->c(Lcom/estrongs/android/pop/app/PopAudioPlayer;II)V

    goto/16 :goto_3

    :pswitch_8
    const/4 p1, 0x0

    if-nez v0, :cond_7

    .line 31
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    const v1, 0x7f110aaf

    .line 32
    invoke-virtual {v0, v1}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    .line 33
    invoke-static {v0, v1, p1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_3

    .line 34
    :cond_7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    const v1, 0x7f110ab0

    .line 35
    invoke-virtual {v0, v1}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    .line 36
    invoke-static {v0, v1, p1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_3

    .line 37
    :goto_0
    :pswitch_9
    iget p1, p1, Landroid/os/Message;->what:I

    .line 38
    iget-object v1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object v1

    if-eqz v1, :cond_c

    .line 39
    new-instance v1, Lcom/estrongs/android/pop/app/PopAudioPlayer$y$b;

    invoke-direct {v1, p0, v0, p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer$y$b;-><init>(Lcom/estrongs/android/pop/app/PopAudioPlayer$y;II)V

    .line 40
    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    goto :goto_3

    .line 41
    :pswitch_a
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    if-eqz p1, :cond_a

    .line 42
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result p1

    if-eqz p1, :cond_b

    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result p1

    if-nez p1, :cond_b

    .line 43
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->d()J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long p1, v0, v2

    if-gtz p1, :cond_8

    .line 44
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->h(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/PopAudioPlayer$m0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer$m0;->a()V

    goto :goto_2

    .line 45
    :cond_8
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->f()J

    move-result-wide v2

    .line 46
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->h(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/PopAudioPlayer$m0;

    move-result-object p1

    long-to-int v4, v0

    invoke-virtual {p1, v4}, Lcom/estrongs/android/pop/app/PopAudioPlayer$m0;->b(I)V

    cmp-long p1, v2, v0

    if-lez p1, :cond_9

    goto :goto_1

    :cond_9
    move-wide v0, v2

    .line 47
    :goto_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->h(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/PopAudioPlayer$m0;

    move-result-object p1

    long-to-int v1, v0

    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer$m0;->a(I)V

    goto :goto_2

    .line 48
    :cond_a
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->h(Lcom/estrongs/android/pop/app/PopAudioPlayer;)Lcom/estrongs/android/pop/app/PopAudioPlayer$m0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer$m0;->a()V

    .line 49
    :cond_b
    :goto_2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopAudioPlayer$y;->a:Lcom/estrongs/android/pop/app/PopAudioPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->r(Lcom/estrongs/android/pop/app/PopAudioPlayer;)V

    :cond_c
    :goto_3
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_a
        :pswitch_9
        :pswitch_8
        :pswitch_7
        :pswitch_6
        :pswitch_5
        :pswitch_4
        :pswitch_3
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x124f81
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
